<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title>我的文章</title>

  {include file='common/_require'/}
</head>

<body>

  {include file='common/_header'/}

  <div class="layui-container fly-marginTop fly-user-main">
    {include file='common/_user'/}
    <script>$('.user-nav-item-post').addClass('layui-this')</script>
    <div class="site-tree-mobile layui-hide">
      <i class="layui-icon">&#xe602;</i>
    </div>
    <div class="site-mobile-shade"></div>

    <div class="site-tree-mobile layui-hide">
      <i class="layui-icon">&#xe602;</i>
    </div>
    <div class="site-mobile-shade"></div>


    <div class="fly-panel fly-panel-user" pad20>
      <!--
    <div class="fly-msg" style="margin-top: 15px;">
      您的邮箱尚未验证，这比较影响您的帐号安全，<a href="activate.html">立即去激活？</a>
    </div>
    -->
      <div class="layui-tab layui-tab-brief" lay-filter="user">
        {include file='common/_my_post'/}
        <script>$('.tab-item-{$target}').addClass('layui-this')</script>
        <div class="layui-tab-content" style="padding: 20px 0;">
          <div class="layui-tab-item layui-show">
            <ul class="mine-view jie-row">
              {volist name='list_post' id='post'}
              <li>
                <i style="margin-right: 15px;">{$post.verify_name}</i>
                <a class="jie-title" href="{:url('read',['id'=>$post.id])}" target="_blank">{$post.title}</a>
                <i>{$post.publish_time_datetime}</i>
                {if $target == 'my' }
                <a class="mine-edit" href="{:url('edit',['id'=>$post.id])}">编辑</a>
                {/if}
                <a class="mine-edit" href="{:url('read',['id'=>$post.id])}">浏览</a>
                <em>{$post.hits}阅/{$post.comment}答</em>
              </li>
              {/volist}

            </ul>
            <div id="LAY_page">{$list_post->render()|raw}</div>
          </div>

        </div>
      </div>
    </div>
  </div>
  {include file='common/_footer'/}
</body>

</html>